package cn.lkx.serviceorder.client;

import cn.lkx.commonutils.orderVo.OrderMemberVo;
import org.springframework.cloud.openfeign.FeignClient;
import org.springframework.stereotype.Component;
import org.springframework.web.bind.annotation.PathVariable;
import org.springframework.web.bind.annotation.PostMapping;

/**
 * 远程调用 ucenter模块
 */
@Component
@FeignClient("service-ucenter")
public interface UcenterClient {

    //根据会员id查询会员信息
    @PostMapping("/serviceucenter/member/getMemberToOrder/{id}")
    public OrderMemberVo getMemberToOrder(@PathVariable("id") String id);

}
